home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1772 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Color Text
  5. Date: 16 Jan 1996 12:10 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <16JAN199612100035@erich.triumf.ca>
  9. References: <4dgrda$dgq@garuda.csulb.edu>
  10. NNTP-Posting-Host: erich.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4dgrda$dgq@garuda.csulb.edu>, reasmey@csulb.edu (Reasmey Ly) writes...
  14. >WEll, I can't find any FAQ anywhere. So here goes..I'm new to 
  15. >Programming in C/C++.
  16. >Help! I need to know how to write a program that randomly display color
  17. >on PRESS ANY KEY text. I saw many demos and programs doing that. So
  18. >if anyone knows how to write this small program please post or email me
  19. >the source code or anything that show me how to do it.
  20.  
  21. The C language doesn't know anything about displaying colours, or any other
  22. fancy display manipulation.  Any such abilities are very system (and even
  23. compiler) dependent.
  24.  
  25. You should ask this in a newsgroup devoted to your particular
  26. computer/operating system.  (for MS-DOS, comp.os.msdos.programmer would be
  27. suitable)
  28.  
  29. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  30. Internet: bennett@triumf.ca         | of one another only when one can be
  31. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  32. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  33. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  34.  
  35.  
  36.  
  37.  
  38.